<div>
	<table id="form_table">
		<input type="hidden" id="employee" name="dialog_employee_id"
			value="{employee_id}" />
		<tr>
			<td id="caption">Нэр</td>
			<td><input type="text" name="dialog_employee_name"
				value="{_VALUE_NAME_}" /></td>
		</tr>
		<tr>
			<td id="caption">Категор</td>
			<td><select name="dialog_employee_category">
					<option value="1"{cat_senior}>АХАҮ</option>
					<option value="2"{cat_assist} >АХАҮ туслах</option>
					<option value="3"{cat_stewardess} >АХҮ</option>
			</select></td>
		</tr>
		<tr>
			<td id="caption">Хүйс</td>
			<td><select name="dialog_employee_gender">
					<option value="1"{gender_male}>Эрэгтэй</option>
					<option value="0"{gender_female} >Эмэгтэй</option>
			</select></td>
		</tr>
		<tr>
			<td id="caption">Нас</td>
			<td><input id="age" type="text" name="dialog_employee_age"
				value="{_VALUE_AGE_}" /></td>
		</tr>
		<tr>
			<td id="caption">Ранк</td>
			<td><input type="text" name="dialog_employee_rank"
				value="{_VALUE_RANK_}" /></td>
		</tr>
		<tr>
			<td id="caption">Хэл</td>
			<td><select name="dialog_employee_language" multiple="multiple">
					{language_list}
			</select></td>
		</tr>
		<tr>
			<td id="caption">Сард</td>
			<td><input type="text" name="dialog_employee_month_flight"
				value="{_VALUE_MONTH_FLIGHT_}" /></td>
		</tr>
		<tr>
			<td id="caption">Нийт</td>
			<td><input type="text" name="dialog_employee_total_flight"
				value="{_VALUE_TOTAL_FLIGHT_}" /></td>
		</tr>
		<tr>
			<td id="caption">Пасспорт дуусах хугацаа</td>
			<td><input type="text" id="datepicker"
				name="dialog_employee_exdate" value="{_VALUE_PASS_EXDATE_}" /></td>
		</tr>
		<tr>
			<td id="caption">Пасспортын дугаар</td>
			<td><input type="text" name="dialog_employee_passno"
				value="{_VALUE_PASS_NO_}" /></td>
		</tr>
		<tr>
			<td colspan="2" align="right"><input type="button"
				id="btn_save_employee" class="btn_div" name="{save}"
				value="Хадгалах" /> <input type="button" id="btn_cancel_employee"
				class="btn_div" name="{cancel}" value="Цуцлах" /></td>
		</tr>
	</table>
</div>
<script>
	$(function() {
		$( "#datepicker" ).datepicker({
			dateFormat: 'yy/mm/dd'
		});
		jQuery('#age').keyup(function () { 
		    this.value = this.value.replace(/[^0-9\.]/g,'');
		});
	});
</script>